
<?php
 $atributos = array('id' => 'editar_tarea_form', 'class' => 'form_editar_tarea');
        
  echo form_open('modificar_tarea/modificarTarea', $atributos);
 

        
?>
<fieldset style="width: 580px">
  <h1>Listar Tareas</h1>
  <p>Lista todos las Tareas existentes</p>
<table cellspacing="0" style="margin-top: 20; ">
        
        <tr>
            <th class="elthini">Numero Tarea</th>
            <th class="elth">Nombre</th>
            <th class="elth">Descripcion</th>
            <th class="elthfin">Editar</th>
            
        </tr>
        
      <?php foreach ($lista_tareas as $i => $data) {?> 
        <tr>
            
        <td class="eltd">  <?php echo $data['idTarea'] ?></td>
        <td class="eltd">  <?php echo $data['nombre'] ?></td>
        <td class="eltd" >  <?php  echo $data['descripcion'] ?>  </td>
        <td class="eltd"><INPUT name="editar" title="Editar"  alt="editar" src="<?php echo base_url() ?>css/images/edit.png" type="image" value="<?php echo $data['idTarea'] ?>"/></td>
       
        </tr>
    
    <? } ?>
    </table>

</fieldset>
<?php  echo form_close(); ?>